package com.yfk.web.service;

public interface IYHTService {

    /**
     * 获取临时登陆code
     * @param type
     * @param url
     * @param accessToken
     * @param thirdUcId
     * @param userId
     * @return
     * @throws Exception
     */
    public String getThirdLoginCode(String type, String url, String accessToken, String thirdUcId, String userId)
            throws Exception;

    /**
     * 获取单点登录code
     * @param qycode
     * @param type
     * @param baseURL
     * @param thirdUCId
     * @param redirctUrl
     * @param code
     * @return
     * @throws Exception
     */
    public String getSignLoginURL(String qycode, String type, String baseURL, String thirdUCId, String redirctUrl,
                                  String code) throws Exception;

    /**
     * 获取员工信息
     * @param userCode  用户编码
     * @param qyID      企业账号id
     * @param access_token  token
     * @return
     * @throws Exception
     */
    public String getYHTUserInfoByCode(String userCode,String qyID,String access_token) throws Exception;
}
